<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
<table border=1>
<tr>
<td>图书id</td>
<td>图书名称</td>
<td>单本价格</td>
<td>购买数量</td>

<td>价格</td>
<td><a>添加数量</a></td>
<td><a>减少数量</a></td>
<td><a>删除此本图书</a></td>


</tr>
<c:forEach items="${cart.cartMap}" var="bookitem">
<tr>
<td> ${bookitem.key } </td>
<td> ${bookitem.value.bookname }</td>
<td>${bookitem.value.bookprice }</td>
<td>${bookitem.value.booknumber }</td>
<td>${bookitem.value.bookstotalprice }</td>
<td><a>添加数量</a></td>
<td><a>减少数量</a></td>
<td><a>删除此本图书</a></td>
</tr>
</c:forEach>
<tr>
<td colspan="2"></td>
<td>图书总数量</td>

<td>图书总价格</td>

</tr>
</table>
</body>
</html>